package com.zareal.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @BelongsProject: itsource-ymcc
 * @BelongsPackage: cn.itsource.dto
 * @Author: Director
 * @CreateTime: 2022-09-07  22:59
 * @Description: 短信推送时，MQ生产者的消息对象
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageSmsDto {

    // 标题
    private String title;

    // 内容
    private String content;

    // 要发送短信的用户id、电话
    private List<UserSmsDto> users;

}